package com.pureut.quality.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description 不良类别实体类
 * @Param
 * @Date 23-02-02
 * @Author hl
 **/
@Data
@TableName("quality_bad_category")
@Accessors(chain = true)
public class QualityBadCategory {

    @TableId(type = IdType.AUTO)
    private Long badId;

    private String badCode;

    private String badName;

    private int badGrade;

    private int itemRank;

    private String badContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private long deptId;
}
